-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Storage] Fix 100 Live Tests #44108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[Storage] Fix 100 Live Tests #44108
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes 100 live tests in the Azure Storage SDK by addressing test failures in queue and blob storage test suites. The changes include correcting test names for uniqueness, fixing SAS permissions to include necessary operations, correcting client object references, and updating datetime variable names for consistency.
Key changes:
- Renamed queue user delegation OID tests to include "queue" prefix for clarity and uniqueness
- Added missing
readandprocesspermissions to queue SAS tokens that were causing test failures - Fixed incorrect variable name in blob tags conditional headers tests from 'expiry_time' to 'early'
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| sdk/storage/azure-storage-queue/tests/test_queue_async.py | Renamed test function, added missing SAS permissions, fixed client object usage in message receiving, and improved test assertions |
| sdk/storage/azure-storage-queue/tests/test_queue.py | Renamed test function, added missing SAS permissions, and fixed client object usage in message receiving |
| sdk/storage/azure-storage-blob/tests/test_blob_tags_async.py | Corrected datetime variable name from 'expiry_time' to 'early' for consistency |
| sdk/storage/azure-storage-blob/tests/test_blob_tags.py | Corrected datetime variable name from 'expiry_time' to 'early' for consistency |
| sdk/storage/azure-storage-blob/assets.json | Updated test recording assets tag reference |
| async for m in queue.receive_messages(): | ||
| async for m in queue_client.receive_messages(): | ||
| messages.append(m) | ||
| assert messages is not None |
Copilot
AI
Nov 19, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The assertion assert messages is not None will always pass since messages is initialized as an empty list and will never be None. Consider either removing this assertion or changing it to assert len(messages) > 0 to verify that at least one message was received.
| assert messages is not None | |
| assert len(messages) > 0 |
|
/azp run python - pullrequest |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run python - storage - tests |
|
Azure Pipelines successfully started running 1 pipeline(s). |
No description provided.